计算机与现代化 ›› 2012, Vol. 1 ›› Issue (200): 90-04.doi: 10. 3969/j. issn. 1006-2475.2012.04.024

• 应用与开发 • 上一篇    下一篇

基于Android智能手机系统平台的新闻接收客户端的设计与实现

阙 锋   

  1. 江西日报社,江西 南昌 330006
  • 收稿日期:2011-11-14 修回日期:1900-01-01 出版日期:2012-04-16 发布日期:2012-04-16

Design and Implementation of New Receiver Client for Intelligent Mobile System Platform Based on Android

QUE Feng   

  1. Jiangxi Daily, Nanchang 330006, China
  • Received:2011-11-14 Revised:1900-01-01 Online:2012-04-16 Published:2012-04-16

摘要: 探讨如何利用Java语言在Android2.3系统上开发一套能将服务器端的XML与JPG文件下载至本地供读者随时查看的软件。系统首先通过Http协议将XML文件以Inputstream方式下载到本地,然后通过SAX进行解析,并存入SQLite3数据库中,当用户需要阅读时以ListActivity方式列表显示出来。

关键词: Android, Java, SAX, Inputstream, SQLite3, ListActivity

Abstract: This paper discusses how to use Java language to develop a system on Android2.3. It can download server-side XML and JPG files to the local for readers to keep track of the software. First, through Http protocol, the system downloads XML file using the way of Inputstream to the local. And then it parses with SAX, stores data into SQLite3 database. When the user needs to read the list, it will display with the way of ListActivity.

Key words: Android, Java, SAX, Inputstream, SQLite3, ListActivity